Compare Baseline using "Created On"

Hi everyone,
Can anyone help me to compare Baseline using "Created On" attribute?. I need to calculate the number of objects that have the "Created On" attribute with the date more recent than privious Baseline.
ibmvd - Fri Oct 28 01:02:04 EDT 2011

Re: Compare Baseline using "Created On"
Mathias Mamsch - Fri Oct 28 02:09:16 EDT 2011

That is probably not the best approach. The created on attribute does not include the time , therefore if you create an object and then baseline, you will not be able to differentiate if the object was created before or after the baseline. Therefore I suggest a better way: Store the "Absolute Numbers" of the previous baseline in a skip list and then iterate over the absolute numbers of the later baseline and check if they already existed in the previous baseline. If not, then they were created in the later baseline.

Hope this helps, Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Compare Baseline using "Created On"
llandale - Fri Oct 28 10:16:36 EDT 2011

Mathias Mamsch - Fri Oct 28 02:09:16 EDT 2011
That is probably not the best approach. The created on attribute does not include the time , therefore if you create an object and then baseline, you will not be able to differentiate if the object was created before or after the baseline. Therefore I suggest a better way: Store the "Absolute Numbers" of the previous baseline in a skip list and then iterate over the absolute numbers of the later baseline and check if they already existed in the previous baseline. If not, then they were created in the later baseline.

Hope this helps, Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

.. or look for createObject history, which works since History is stored in the Baseline and then cleared. When you find the first one then you know that all AbsNo values of that History or higher were created since the baseline.